package com.portal.incurridos.persistence.dao;

import java.util.List;

import com.portal.incurridos.persistence.enumeration.StateTransactionEnum;
import com.portal.incurridos.persistence.wall.Labeled;

/**
 * @author Alan Dávila
 * e-mail ustargab@gmail.com
 * date 28/11/2013 23:33:58
 */
public interface LabeledDao {

	/**
	 * Get all labels associated at a card.
	 * @param card Identifier of card.
	 * @return List of labels.
	 */
	List<Labeled> get(final Long card);
	/**
	 * Insert a new label for a card.
	 * @param labeled Object to create.
	 * @return State of transaction.
	 */
	StateTransactionEnum create(final Labeled labeled);
	/**
	 * Delete a label associated a card.
	 * @param labeled Object to create.
	 * @return State of transaction.
	 */
	StateTransactionEnum delete(final Labeled labeled);
}
